/**
 * 
 */
package com.mooer.enums;


/**
 * Description
 * @author Minglong.Yu
 * @version 1.0 
 * @created Apr 29, 2011 10:06:37 AM
 */
public enum ResultStatusEnum {
	SUCCESS(100,"成功"),FAILED(400, "失败"),
	NO_LOGIN(401,"未登录"),TIME_OUT(402, "Session超时"),
	ERROR_PARAMS(403,"参数错误"), ERROR_PERMISSION(404, "权限不足");
	
	private int code;
	private String desc;
	private ResultStatusEnum(int code, String desc){
		this.code = code;
		this.desc = desc;
	}
	public int getCode() {
		return code;
	}
	public String getDesc() {
		return desc;
	}
	
}
